<%@ page language="java" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
<%
pageContext.setAttribute("key01", "asd");
pageContext.setAttribute("key02", 3.15);
pageContext.setAttribute("key03", true);
%>
<h4>域里的value是常量</h4>
${key01 }<br>
${key02 }<br>
${key03 }<br>
</body>
</html>